

#include<stdio.h>

struct stu
{
	char name[10];
	char sex[10];
	int age;
	char tele[12];
};

void print(struct stu* ps)
{
	//printf("%S %s %d %s\n",(*ps).name, (*ps).sex, (*ps).age, (*ps).tele);

	printf("%s %s %d %s\n", ps->name, ps->sex, ps->age, ps->tele);
}
int main()
  {
	struct stu s = { "zhangsan","male",20,"19217654345" };
	//printf("%s %s %d %s\n", s.name, s.sex, s.age, s.tele);
	print(&s);
	int* b = (&s);
	return 0;
   }